<template>
    <fieldset>
        <legend>朋友</legend>
        <h1>张艺兴</h1>
        <h1>肖战</h1>
        <h1>白敬亭</h1>
    </fieldset>
</template>


<script>


    export default{
        props:['id'],
        mounted(){
            console.log(this.$route.params)
            console.log(this.id)
        },
        watch:{
            $eoute(newVal){
                console.log(newVal)
            },
            id(newVal){
                console.log('id-----',newVal)
            }
        }
    }





</script>